package com.honglang.module.user.dao;

import java.util.List;

import com.honglang.dao.GenericDao;
import com.honglang.module.user.entity.User;

public interface UserDao extends GenericDao<User,Integer>{
	
	/**
	 *  Get user list by userName;
	 * @param userName
	 * @return
	 */
	public List<User>  getUserByUsername(String userName);
	
	/**
	 *  Get user list by email;
	 * @param userName
	 * @return
	 */
	public List<User> getUserByEmail(String email);
}
